package util;

import java.io.UnsupportedEncodingException;

import javax.servlet.http.HttpServletRequest;

public class ConvertHelper {

	public static String GetRequestUnicodeString(HttpServletRequest request,
			String parametername) {
		try {
			return new String(request.getParameter(parametername).getBytes(
					"ISO-8859-1"), "UTF-8");
		} catch (UnsupportedEncodingException e) {
			e.printStackTrace();

			return "";
		}

	}
}
